3.113 \(\int \frac{x^2}{\left (a+b x^3\right ) \left (c+d x^3\right )} \, dx\)

Optimal. Leaf size=45 \[ \frac{\log \left (a+b x^3\right )}{3 (b c-a d)}-\frac{\log \left (c+d x^3\right )}{3 (b c-a d)} \]

[Out]

Log[a + b*x^3]/(3*(b*c - a*d)) - Log[c + d*x^3]/(3*(b*c - a*d))

_______________________________________________________________________________________

Rubi [A]  time = 0.097998, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136 \[ \frac{\log \left (a+b x^3\right )}{3 (b c-a d)}-\frac{\log \left (c+d x^3\right )}{3 (b c-a d)} \]

Antiderivative was successfully verified.

[In]  Int[x^2/((a + b*x^3)*(c + d*x^3)),x]

[Out]

Log[a + b*x^3]/(3*(b*c - a*d)) - Log[c + d*x^3]/(3*(b*c - a*d))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 12.6155, size = 36, normalized size = 0.8 \[ - \frac{\log{\left (a + b x^{3} \right )}}{3 \left (a d - b c\right )} + \frac{\log{\left (c + d x^{3} \right )}}{3 \left (a d - b c\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**2/(b*x**3+a)/(d*x**3+c),x)

[Out]

-log(a + b*x**3)/(3*(a*d - b*c)) + log(c + d*x**3)/(3*(a*d - b*c))

_______________________________________________________________________________________

Mathematica [A]  time = 0.0337505, size = 31, normalized size = 0.69 \[ \frac{\log \left (a+b x^3\right )-\log \left (c+d x^3\right )}{3 b c-3 a d} \]

Antiderivative was successfully verified.

[In]  Integrate[x^2/((a + b*x^3)*(c + d*x^3)),x]

[Out]

(Log[a + b*x^3] - Log[c + d*x^3])/(3*b*c - 3*a*d)

_______________________________________________________________________________________

Maple [A]  time = 0.01, size = 42, normalized size = 0.9 \[ -{\frac{\ln \left ( b{x}^{3}+a \right ) }{3\,ad-3\,bc}}+{\frac{\ln \left ( d{x}^{3}+c \right ) }{3\,ad-3\,bc}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^2/(b*x^3+a)/(d*x^3+c),x)

[Out]

-1/3/(a*d-b*c)*ln(b*x^3+a)+1/3/(a*d-b*c)*ln(d*x^3+c)

_______________________________________________________________________________________

Maxima [A]  time = 1.46264, size = 55, normalized size = 1.22 \[ \frac{\log \left (b x^{3} + a\right )}{3 \,{\left (b c - a d\right )}} - \frac{\log \left (d x^{3} + c\right )}{3 \,{\left (b c - a d\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/((b*x^3 + a)*(d*x^3 + c)),x, algorithm="maxima")

[Out]

1/3*log(b*x^3 + a)/(b*c - a*d) - 1/3*log(d*x^3 + c)/(b*c - a*d)

_______________________________________________________________________________________

Fricas [A]  time = 0.232425, size = 42, normalized size = 0.93 \[ \frac{\log \left (b x^{3} + a\right ) - \log \left (d x^{3} + c\right )}{3 \,{\left (b c - a d\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/((b*x^3 + a)*(d*x^3 + c)),x, algorithm="fricas")

[Out]

1/3*(log(b*x^3 + a) - log(d*x^3 + c))/(b*c - a*d)

_______________________________________________________________________________________

Sympy [A]  time = 4.31924, size = 138, normalized size = 3.07 \[ \frac{\log{\left (x^{3} + \frac{- \frac{a^{2} d^{2}}{a d - b c} + \frac{2 a b c d}{a d - b c} + a d - \frac{b^{2} c^{2}}{a d - b c} + b c}{2 b d} \right )}}{3 \left (a d - b c\right )} - \frac{\log{\left (x^{3} + \frac{\frac{a^{2} d^{2}}{a d - b c} - \frac{2 a b c d}{a d - b c} + a d + \frac{b^{2} c^{2}}{a d - b c} + b c}{2 b d} \right )}}{3 \left (a d - b c\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**2/(b*x**3+a)/(d*x**3+c),x)

[Out]

log(x**3 + (-a**2*d**2/(a*d - b*c) + 2*a*b*c*d/(a*d - b*c) + a*d - b**2*c**2/(a*
d - b*c) + b*c)/(2*b*d))/(3*(a*d - b*c)) - log(x**3 + (a**2*d**2/(a*d - b*c) - 2
*a*b*c*d/(a*d - b*c) + a*d + b**2*c**2/(a*d - b*c) + b*c)/(2*b*d))/(3*(a*d - b*c
))

_______________________________________________________________________________________

GIAC/XCAS [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: NotImplementedError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/((b*x^3 + a)*(d*x^3 + c)),x, algorithm="giac")

[Out]

Exception raised: NotImplementedError